package com.expand.demo.round

import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.expand.demo.R
import com.expand.demo.round.NewReboundActivity

/**
 * hui tan xiaoguo Round
 */
class RoundActivity : AppCompatActivity() {

    companion object {
        @JvmStatic
        fun jumpTo(context: Context) {
            context.startActivity(Intent(context, RoundActivity::class.java))
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_round)
        findViewById<View>(R.id.jump).setOnClickListener {
            startActivity(
                Intent(
                    this@RoundActivity,
                    NewReboundActivity::class.java
                )
            )
        }
    }
}